<?php
	if(isset($_POST['submit'])){
		$_POST['submit'] = "";
		foreach($_POST as $key => $value){
			if($value != ""){
				$PHPFoxEngine->data[$key] = $value;
				echo $key.' - '.$PHPFoxEngine->data['charset'];
			}
		}
		$PHPFoxEngine->saveConfig();
	}
?>
<form action="" method="post">
	<select name="charset"><option value="iso-8859-1">iso-8859-1</option><option value="utf-8">utf-8</option></select>
    <input type="submit" name="submit" value="Enregistrer les modifications" />
</form>